package com.codingfuture.dao.impl;

import com.codingfuture.dao.PersonDao;
import com.codingfuture.entity.Person;
import org.springframework.stereotype.Repository;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * @Author kobe
 * @Date 2021/11/5 09:05
 * @Description
 */
@Repository
public class PersonDaoImpl implements PersonDao {

    @Override
    public List<Person> findAll() {
        ArrayList<Person> list = new ArrayList<>();
        // list.add(new Person(1, "zs", "123", new Date()));
        // list.add(new Person(2, "ls", "456", new Date()));
        return list;
    }
}
